import App from './App'
import Login from './Login/index'
import Contentpageone from './Content-page-one/index'
import Disscussionpage from './Disscusion-page/index'
import Input from './Input-page/index'
import Bookpage from './Book-page/index'
import Member from './Member-page/index'
import Navigation from './Navigation-page/index'
//注册路由
const routes = [
  {
    path: '/',
    component: App,
  },
  {
    path: '/login',
    component: Login,
    //开启严格匹配，默认为模糊匹配
    //exact:true
  },
  {
    path: '/cpo',
    component: Contentpageone,
  },
  {
    path: '/diss',
    component: Disscussionpage
  },
  {
    path: '/input',
    component: Input
  },
  {
    path: '/book',
    component:Bookpage
  },
  {
    path:'/member',
    component:Member
  },
  {
    path:'/navigation',
    component:Navigation
  }
]
export default routes